<div id="install">
  <h2>Installing application</h2>

  <p>
  This may take some minutes. Please be patient.
  </p>

  <?r if @name ?>
    <p>Installing gem '#{@name}'...</p>
  <?r else ?>
    <p>Installing gem '#{@filename}'... (#{@size} bytes)</p>
  <?r end ?>

  <pre id="result">
    <img id="spinner" src='/spinner.gif'>
  </pre>

  <a href='/'>back</a>
</div>

<script type="text/javascript">
  $(document).ready(function(){
    $("#result").load("#{r(:_install)}");
  });
</script>
